﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace RollBack.src.ui
{
    public partial class WelcomeUserControl : UserControl
    {
        public WelcomeUserControl()
        {
            InitializeComponent();
            string helpPage = "http://rollbackap.pbworks.com/";
            m_wikiLink.Links.Add(0, m_wikiLink.Text.Length, helpPage);
            m_webBrowser.Url = new Uri(helpPage);
        }

        private void m_wikiLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            string target = e.Link.LinkData as string;
            if (target != null)
            {
                System.Diagnostics.Process.Start(target);
            }
        }
    }
}
